Class UUIDImpl

java.lang.Object
com.cisco.pt.impl.UUIDImpl
All Implemented Interfaces:
UUID

public class UUIDImpl extends Object implements UUID
Author:
packettracerexapps@external.cisco.com
  • Field Details

  • Constructor Details

    • UUIDImpl

      public UUIDImpl(byte[] newBytes)
      Parameters:
      newBytes - byte[]
    • UUIDImpl

      public UUIDImpl(String str)
      Parameters:
      str - String
  • Method Details

    • setBytes

      protected void setBytes(byte[] newBytes)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getDecoratedHexString

      public String getDecoratedHexString()
      Specified by:
      getDecoratedHexString in interface UUID
      Returns:
      String
    • getByteArrayValue

      public byte[] getByteArrayValue()
      Specified by:
      getByteArrayValue in interface UUID
      Returns:
      byte array
    • makeRandom

      public static UUID makeRandom()
    • equals

      public boolean equals(UUID other)
      Specified by:
      equals in interface UUID